import request from '@/utils/request'
import { HTTP_METHOD } from '@/utils/http'

const BASE_URL = '/template'

/**
 * 表单
 * @export 获取表单模板
 * @return {*} task_id
 */
 export function getTemplateFields (task_id) {
  return request({
    url: `${BASE_URL}/fields/${task_id}`,
    method: HTTP_METHOD.GET,
  })
}
